package com.globant.dashboard.persist;

import java.util.List;
import com.globant.dashboard.model.User;

public interface UserDAO{
	
	public List<User> getByCriteria(final String searchParameter, int pageNumber, int pageSize);
	
	public User insert(final User user);
	
	public User update(final User user);
	
	public User delete(final User user);
    
	public List<User> getAll(int pageNumber, int pageSize);
	
	public User getById(int id);
	
	public User getByEmail(String email);
	
	public int countUsers();
	
	public int countUserByCriteria(String criteria);


}